//package com.zookeeper.mine.study.utils;
//
//import org.apache.zookeeper.ZooKeeper;
//import org.springframework.beans.factory.annotation.Autowired;
//
//public class ZKUtils {
//
//    @Autowired
//    private ZooKeeper zooKeeper;
//
//    public String getData(String path) throws Exception {
//
//        byte[] data = zooKeeper.getData(path,false,null);
//
//        return new String(data);
//    }
//}
